

<div class="layui-form" lay-filter="layuiadmin-form-admin" style="padding: 20px 30px 0 0;">
  <div class="layui-form-item">
    <label class="layui-form-label">方式</label>
    <div class="layui-input-inline">
      <script type="text/html" template>
        <input type="text" name="name" value="{{ d.params.name || 'get' }}" lay-verify="required" placeholder="规则唯一标识" autocomplete="off" class="layui-input">
      </script>
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">中文标识</label>
    <div class="layui-input-inline">
      <script type="text/html" template>
        <input type="text" name="title" value="{{ d.params.title || '' }}" lay-verify="required" placeholder="规则中文名称" autocomplete="off" class="layui-input">
      </script>
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">图标</label>
    <div class="layui-input-inline">
      <script type="text/html" template>
        <input type="text" name="icon" value="{{ d.params.icon || '' }}" lay-verify="required" placeholder="请输入图标" autocomplete="off" class="layui-input">
      </script>
    </div>
  </div>

  <div class="layui-form-item">
    <label class="layui-form-label">地址</label>
    <div class="layui-input-inline">
      <script type="text/html" template>
        <input type="text" name="jump" value="{{ d.params.jump || '' }}"  placeholder="请输入地址" autocomplete="off" class="layui-input">
      </script>
    </div>
  </div>

  <div class="layui-form-item">
    <label class="layui-form-label">是否展开</label>
    <div class="layui-input-inline">
      <script type="text/html" template>
        <input type="checkbox" lay-filter="switch" name="spread" {{ d.params.spread ? 'checked' : '' }} lay-skin="switch" lay-text="通过|关闭" value="1">
      </script>
    </div>
  </div>




  <div class="layui-form-item">
    <label class="layui-form-label">审核状态</label>
    <div class="layui-input-inline">
      <script type="text/html" template>
        <input type="checkbox" lay-filter="switch" name="status" {{ d.params.status ? 'checked' : '' }} lay-skin="switch" lay-text="通过|关闭" value="1">
      </script>
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label"></label>
    <div class="layui-input-inline">
      <script type="text/html" template>
        <input type="hidden" name="id" value="{{ d.params.id || '' }}">
      </script>
      <input type="button" lay-submit lay-filter="LAY-user-back-submit" value="确认" class="layui-btn">
    </div>
  </div>




</div>




<script>
layui.use('auth', layui.factory('auth'));
// layui.data.done = function(d){
//   layui.use(['admin', 'form'], function(){
//     var $ = layui.$
//     ,form = layui.form;
//     form.render(); //渲染该模板下的动态表单




//   });
// };
</script>